import request from '@/utils/request'

export function getRestaurantInfo() {
  return request({
    url: '/admin/restaurant',
    method: 'get'
  })
}

export function updateRestaurantInfo(data) {
  return request({
    url: '/admin/restaurant',
    method: 'put',
    data: data
  })
}
